package com.example.shop.service;

import com.example.shop.domain.Goods;

import java.util.List;

public interface GoodsService {

    List<Goods> selectList();

    List<Goods> selectAllByName(String name);


    List<Goods> selectByName(String name);

    void add(Goods goods);

    List<Goods> selectById(Goods goods);
    List<Goods> selectOne(Goods goods);

    int delete(Goods goods);

    void update(Goods goods);



}
